Setting up Basic Authentication (Gateway)
Setting up Basic Authentication allows you to restrict access to APIs without using a third party identity provider.
Before you begin
Add an Authentication Source with the identity provider type Basic Authentication (Gateway).
Procedure
-
On the Roles tab, click Add Role.
-
In the Add a Role dialog, specify a role name and optionally a description.
-
Optional: Create additional roles by repeating steps 2 and 3 until all of your roles are created.
-
On the Groups tab, click Add Group.
-
In the Add a Group wizard, specify a group name and optionally a description. Click Next.
-
On the Select Roles page, select one or more roles to assign to the group. Click Next.
-
Review the group that you created on the Review Group page and click Finish.
-
Optional: Create additional groups by repeating steps 4 through 7 until all of your groups are created.
-
On the Users tab, click Add User.
-
In the Add a Role wizard, specify a user name and password.
-
Determine if the user is enabled to access APIs that use the Authentication Source. If they are, check the Enable box. Click Next.
-
On the Select Groups page, select one or more groups to assign to the user. Click Next.
-
Review the user that you created on the Review User page and click Finish.
-
Optional: Create additional users by repeating steps 9 through 13 until all of your users are created.
-
Click Save.
Next steps
Add the newly created Authentication Source to an API deployment.